/**
 * @file PadEntry.h
 * @author Bram Aerts
 * @brief Declares class with functionality to make a linked list of points.
 */

#include "Point.h"
#pragma once
/**
	*@brief contains functionality for linked list
*/
class PadEntry
{
	PadEntry *volgende;	
	Point punt;
public:
	/** 
	@brief  initialises an entry in the path
	@param  Point 
		point for which you want to create a path entry
	**/		
	PadEntry(Point);

	/** 
	@brief  setter for next PadEntry
	@param  PadEntry *
		set the next pointer
	**/	
	void setVolgende(PadEntry*);
	
	/** 
	@brief  searches a point in the linked list
	@param  Point 
		point to look for in the linked list
	@return pointer to PathEntry corresponding to the searched point
	**/	
	PadEntry* FindNode(Point);

	/** 
	@brief  getter for next PadEntry
	@return pointer to next PadEntry
	**/	
	PadEntry* getVolgende() {return volgende;}

	/** 
	@brief  getter for point
	@return point of PathEntry
	**/	
	Point getPoint() {return punt;}
};

